package com.item.yxlottery.yxlottery.bean;

/*
 *------------------------------
 * @创建者      Administrator
 * @创建时间    2016/12/17 11:41
 * @文件描述    
 *------------------------------
 */

import android.os.Parcel;
import android.os.Parcelable;

public class BallBean implements Parcelable {
    String text;

    public BallBean(String text) {
        this.text = text;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.text);
    }

    protected BallBean(Parcel in) {
        this.text = in.readString();
    }

    public static final Parcelable.Creator<BallBean> CREATOR = new Parcelable.Creator<BallBean>() {
        @Override
        public BallBean createFromParcel(Parcel source) {
            return new BallBean(source);
        }

        @Override
        public BallBean[] newArray(int size) {
            return new BallBean[size];
        }
    };
}
